package com.hui.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2021-09-17 08:01:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Table(name = "orders")
public class Orders implements Serializable {
    private static final long serialVersionUID = 810914776111849188L;

    @Id
    private Integer id;
    
    private Integer goodsId;
    
    private Date createTime;
    /**
     * 状态：1未支付、2已支付、3已失效、0已删除
     */
    private String status;

}

